﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace CMS.APP
{
    public class Pages
    {
        #region Fields
        /// <summary>
        /// 页面数量
        /// </summary>
        private int count;
        /// <summary>
        /// 页面数量
        /// </summary>
        public int Count
        {
            get { return count; }
            //set { count = value; }
        }
        /// <summary>
        /// 新闻Id
        /// </summary>
        private decimal newsId;
        #endregion Fields

        #region Constructor
        /// <summary>
        /// 构造函数
        /// </summary>
        /// <param name="newsId">新闻Id</param>
        /// <param name="newsPageCount">数量</param>
        public Pages(decimal newsId,int newsPageCount)
        {
            this.newsId = newsId;
            this.count = newsPageCount;
        }
        #endregion Constructor

        /// <summary>
        /// 增加一个页面
        /// </summary>
        /// <param labelName="pageContent">页面内容</param>
        public int Add(string pageContent)
        {
            throw new System.NotImplementedException();
        }
        /// <summary>
        /// 插入一个页面
        /// </summary>
        /// <param labelName="pageContent">页面内容</param>
        /// <param labelName="pageNumber">第几页</param>
        public int Insert(string pageContent, int pageNumber)
        {
            throw new System.NotImplementedException();
        }
        /// <summary>
        /// 删除一个页面
        /// </summary>
        /// <param labelName="pageNumber">第几页</param>
        public int Delete(int pageNumber)
        {
            throw new System.NotImplementedException();
        }
        /// <summary>
        /// 删除一个页面
        /// </summary>
        /// <param labelName="pageNumber">页面Id</param>
        /// <param labelName="pageId">页面Id</param>
        public int Delete(decimal pageId)
        {
            throw new System.NotImplementedException();
        }
        /// <summary>
        /// 删除一个页面
        /// </summary>
        /// <param labelName="deletePage">页面</param>
        public int Delete(Page deletePage)
        {
            throw new System.NotImplementedException();
        }
        /// <summary>
        /// 获得新闻的所有页面
        /// </summary>
        /// <param labelName="newsId">新闻Id</param>
        public static List<Page> GetAllPages(decimal newsId)
        {
            throw new System.NotImplementedException();
        }
    }
}
